package com.quanshu.exchange.support.entity;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Created by jye on 2017/11/28.
 */
@DatabaseTable(tableName = "groups")
public class GroupEntity implements Serializable {

    @DatabaseField(id = true)
    private String hx_groupid;
    @DatabaseField
    private int group_id;
    @DatabaseField
    private String owner = "";
    @DatabaseField
    private String group_name;
    @DatabaseField
    private String group_introduce;
    @DatabaseField
    private String group_photo;
    @DatabaseField
    private String group_label_id;
    @DatabaseField
    private String group_label_name;
    @DatabaseField
    private int is_verify;  //是否需要审核，0不需要，1需要
    @DatabaseField
    private int add_time;
    @DatabaseField
    private int relation_type; //是否为群主，0普通成员，2群主，1管理员
    @DatabaseField
    private int visible; // 是否为公开群，0：成员消息管理员可见，1：全部可见
    private int is_have;  // 1是0不是

    public int getGroup_id() {
        return group_id;
    }

    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }

    public int getIs_have() {
        return is_have;
    }

    public void setIs_have(int is_have) {
        this.is_have = is_have;
    }

    public String getHx_groupid() {
        return hx_groupid;
    }

    public void setHx_groupid(String hx_groupid) {
        this.hx_groupid = hx_groupid;
    }


    public String getGroup_name() {
        return group_name;
    }

    public void setGroup_name(String group_name) {
        this.group_name = group_name;
    }

    public String getGroup_introduce() {
        return group_introduce;
    }

    public void setGroup_introduce(String group_introduce) {
        this.group_introduce = group_introduce;
    }

    public String getGroup_photo() {
        return group_photo;
    }

    public void setGroup_photo(String group_photo) {
        this.group_photo = group_photo;
    }

    public String getGroup_label_id() {
        return group_label_id;
    }

    public void setGroup_label_id(String group_label_id) {
        this.group_label_id = group_label_id;
    }

    public int getIs_verify() {
        return is_verify;
    }

    public void setIs_verify(int is_verify) {
        this.is_verify = is_verify;
    }

    public int getAdd_time() {
        return add_time;
    }

    public void setAdd_time(int add_time) {
        this.add_time = add_time;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public int getRelation_type() {
        return relation_type;
    }

    public void setRelation_type(int relation_type) {
        this.relation_type = relation_type;
    }

    public String getGroup_label_name() {
        return group_label_name;
    }

    public void setGroup_label_name(String group_label_name) {
        this.group_label_name = group_label_name;
    }

    public int getVisible() {
        return visible;
    }

    public void setVisible(int visible) {
        this.visible = visible;
    }
}
